<?php
/*这里编码*/
if ($uri_jq && $str_make_qr) {
    $PNG_TEMP_DIR = dirname(__FILE__).DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR;
    $PNG_WEB_DIR = 'http://localhost/new/qr/img/';
    include "qrlib.php";    
    if (!file_exists($PNG_TEMP_DIR)) mkdir($PNG_TEMP_DIR);
    $errorCorrectionLevel = 'H';
    $matrixPointSize = 6;
	
    $filename = $PNG_TEMP_DIR.$str_make_qr.'.png';
    QRcode::png($uri_jq, $filename, $errorCorrectionLevel, $matrixPointSize, 2);
	$qrimg=$PNG_WEB_DIR.basename($filename);  
}
?>